package com.example.sunmiv1.entity;

import android.text.TextUtils;

import java.io.Serializable;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class DepositGoodsInfo implements Serializable {

    /**
     * status : 1
     * msg : 查詢成功
     * data : [{"id":"19306","merchant_id":"2","warehouse_id":"305","goods_class_id":"901","goods_id":"24026","sku_id":"0","goods_name":"測試圖片更新","sku_name":"","sku_id_list":"","goods_number":"42063","sku_goods_number":"","goods_code":"8223494741","sku_code":"","company":"","specifications":"","attribute_state":"1","pricing_method":"1","goods_brand_id":null,"goods_yieldly_id":null,"goods_num":1,"sku_num":"1.000","more_num":"0.000","less_num":"0.000","status":"0","cost_price":1,"add_time":"1570676732","index":1,"output_num":""},{"id":"19305","merchant_id":"2","warehouse_id":"305","goods_class_id":"901","goods_id":"24025","sku_id":"0","goods_name":"測試圖片","sku_name":"","sku_id_list":"","goods_number":"54517","sku_goods_number":"","goods_code":"1319857129","sku_code":"","company":"","specifications":"","attribute_state":"1","pricing_method":"1","goods_brand_id":null,"goods_yieldly_id":null,"goods_num":11,"sku_num":"1.000","more_num":"1.000","less_num":"0.000","status":"0","cost_price":1,"add_time":"1570506293","index":2,"output_num":""},{"id":"19304","merchant_id":"2","warehouse_id":"305","goods_class_id":"901","goods_id":"24024","sku_id":"0","goods_name":"商品1","sku_name":"","sku_id_list":"","goods_number":"57333","sku_goods_number":"","goods_code":"","sku_code":"","company":"","specifications":"","attribute_state":"1","pricing_method":"1","goods_brand_id":null,"goods_yieldly_id":null,"goods_num":86,"sku_num":"1.000","more_num":"0.000","less_num":"0.000","status":"0","cost_price":10,"add_time":"1569823880","index":3,"output_num":""},{"id":"19303","merchant_id":"2","warehouse_id":"305","goods_class_id":"907","goods_id":"24023","sku_id":"0","goods_name":"百香果307679","sku_name":"","sku_id_list":"","goods_number":"300799","sku_goods_number":"","goods_code":"72541191713","sku_code":"","company":"","specifications":"","attribute_state":"1","pricing_method":"2","goods_brand_id":"0","goods_yieldly_id":null,"goods_num":3,"sku_num":"1.000","more_num":"10.000","less_num":"10.000","status":"0","cost_price":13,"add_time":"1569401150","index":4,"output_num":""},{"id":"19302","merchant_id":"2","warehouse_id":"305","goods_class_id":"907","goods_id":"24022","sku_id":"0","goods_name":"百香果307678","sku_name":"","sku_id_list":"","goods_number":"300798","sku_goods_number":"","goods_code":"72541191712","sku_code":"","company":"","specifications":"","attribute_state":"1","pricing_method":"2","goods_brand_id":"0","goods_yieldly_id":null,"goods_num":4,"sku_num":"1.000","more_num":"10.000","less_num":"10.000","status":"0","cost_price":13,"add_time":"1569401150","index":5,"output_num":""},{"id":"19301","merchant_id":"2","warehouse_id":"305","goods_class_id":"907","goods_id":"24021","sku_id":"0","goods_name":"百香果307677","sku_name":"","sku_id_list":"","goods_number":"300797","sku_goods_number":"","goods_code":"72541191711","sku_code":"","company":"","specifications":"","attribute_state":"1","pricing_method":"2","goods_brand_id":"0","goods_yieldly_id":null,"goods_num":8,"sku_num":"1.000","more_num":"10.000","less_num":"10.000","status":"0","cost_price":13,"add_time":"1569401150","index":6,"output_num":""},{"id":"19300","merchant_id":"2","warehouse_id":"305","goods_class_id":"907","goods_id":"24020","sku_id":"0","goods_name":"百香果307676","sku_name":"","sku_id_list":"","goods_number":"300796","sku_goods_number":"","goods_code":"72541191710","sku_code":"","company":"","specifications":"","attribute_state":"1","pricing_method":"2","goods_brand_id":"0","goods_yieldly_id":null,"goods_num":9,"sku_num":"1.000","more_num":"10.000","less_num":"10.000","status":"0","cost_price":13,"add_time":"1569401150","index":7,"output_num":""},{"id":"19299","merchant_id":"2","warehouse_id":"305","goods_class_id":"907","goods_id":"24019","sku_id":"0","goods_name":"百香果307675","sku_name":"","sku_id_list":"","goods_number":"300795","sku_goods_number":"","goods_code":"72541191709","sku_code":"","company":"","specifications":"","attribute_state":"1","pricing_method":"2","goods_brand_id":"0","goods_yieldly_id":null,"goods_num":9,"sku_num":"1.000","more_num":"10.000","less_num":"10.000","status":"0","cost_price":13,"add_time":"1569401150","index":8,"output_num":""},{"id":"19298","merchant_id":"2","warehouse_id":"305","goods_class_id":"907","goods_id":"24018","sku_id":"0","goods_name":"百香果307674","sku_name":"","sku_id_list":"","goods_number":"300794","sku_goods_number":"","goods_code":"72541191708","sku_code":"","company":"","specifications":"","attribute_state":"1","pricing_method":"2","goods_brand_id":"0","goods_yieldly_id":null,"goods_num":9,"sku_num":"1.000","more_num":"10.000","less_num":"10.000","status":"0","cost_price":13,"add_time":"1569401150","index":9,"output_num":""},{"id":"19297","merchant_id":"2","warehouse_id":"305","goods_class_id":"907","goods_id":"24017","sku_id":"0","goods_name":"百香果307673","sku_name":"","sku_id_list":"","goods_number":"300793","sku_goods_number":"","goods_code":"72541191707","sku_code":"","company":"","specifications":"","attribute_state":"1","pricing_method":"2","goods_brand_id":"0","goods_yieldly_id":null,"goods_num":9,"sku_num":"1.000","more_num":"10.000","less_num":"10.000","status":"0","cost_price":13,"add_time":"1569401150","index":10,"output_num":""},{"id":"19296","merchant_id":"2","warehouse_id":"305","goods_class_id":"907","goods_id":"24016","sku_id":"0","goods_name":"百香果307672","sku_name":"","sku_id_list":"","goods_number":"300792","sku_goods_number":"","goods_code":"72541191706","sku_code":"","company":"","specifications":"","attribute_state":"1","pricing_method":"2","goods_brand_id":"0","goods_yieldly_id":null,"goods_num":9,"sku_num":"1.000","more_num":"10.000","less_num":"10.000","status":"0","cost_price":13,"add_time":"1569401150","index":11,"output_num":""},{"id":"19295","merchant_id":"2","warehouse_id":"305","goods_class_id":"907","goods_id":"24015","sku_id":"0","goods_name":"百香果307671","sku_name":"","sku_id_list":"","goods_number":"300791","sku_goods_number":"","goods_code":"72541191705","sku_code":"","company":"","specifications":"","attribute_state":"1","pricing_method":"2","goods_brand_id":"0","goods_yieldly_id":null,"goods_num":9,"sku_num":"1.000","more_num":"10.000","less_num":"10.000","status":"0","cost_price":13,"add_time":"1569401150","index":12,"output_num":""},{"id":"19294","merchant_id":"2","warehouse_id":"305","goods_class_id":"907","goods_id":"24014","sku_id":"0","goods_name":"百香果307670","sku_name":"","sku_id_list":"","goods_number":"300790","sku_goods_number":"","goods_code":"72541191704","sku_code":"","company":"","specifications":"","attribute_state":"1","pricing_method":"2","goods_brand_id":"0","goods_yieldly_id":null,"goods_num":10,"sku_num":"1.000","more_num":"10.000","less_num":"10.000","status":"0","cost_price":13,"add_time":"1569401150","index":13,"output_num":""},{"id":"19293","merchant_id":"2","warehouse_id":"305","goods_class_id":"907","goods_id":"24013","sku_id":"0","goods_name":"百香果307669","sku_name":"","sku_id_list":"","goods_number":"300789","sku_goods_number":"","goods_code":"72541191703","sku_code":"","company":"","specifications":"","attribute_state":"1","pricing_method":"2","goods_brand_id":"0","goods_yieldly_id":null,"goods_num":10,"sku_num":"1.000","more_num":"10.000","less_num":"10.000","status":"0","cost_price":13,"add_time":"1569401150","index":14,"output_num":""},{"id":"19292","merchant_id":"2","warehouse_id":"305","goods_class_id":"907","goods_id":"24012","sku_id":"0","goods_name":"百香果307668","sku_name":"","sku_id_list":"","goods_number":"300788","sku_goods_number":"","goods_code":"72541191702","sku_code":"","company":"","specifications":"","attribute_state":"1","pricing_method":"2","goods_brand_id":"0","goods_yieldly_id":null,"goods_num":10,"sku_num":"1.000","more_num":"10.000","less_num":"10.000","status":"0","cost_price":13,"add_time":"1569401150","index":15,"output_num":""},{"id":"19291","merchant_id":"2","warehouse_id":"305","goods_class_id":"907","goods_id":"24011","sku_id":"0","goods_name":"百香果307667","sku_name":"","sku_id_list":"","goods_number":"300787","sku_goods_number":"","goods_code":"72541191701","sku_code":"","company":"","specifications":"","attribute_state":"1","pricing_method":"2","goods_brand_id":"0","goods_yieldly_id":null,"goods_num":10,"sku_num":"1.000","more_num":"10.000","less_num":"10.000","status":"0","cost_price":13,"add_time":"1569401150","index":16,"output_num":""},{"id":"19290","merchant_id":"2","warehouse_id":"305","goods_class_id":"907","goods_id":"24010","sku_id":"0","goods_name":"百香果307666","sku_name":"","sku_id_list":"","goods_number":"300786","sku_goods_number":"","goods_code":"72541191700","sku_code":"","company":"","specifications":"","attribute_state":"1","pricing_method":"2","goods_brand_id":"0","goods_yieldly_id":null,"goods_num":10,"sku_num":"1.000","more_num":"10.000","less_num":"10.000","status":"0","cost_price":13,"add_time":"1569401150","index":17,"output_num":""},{"id":"19289","merchant_id":"2","warehouse_id":"305","goods_class_id":"907","goods_id":"24009","sku_id":"0","goods_name":"百香果307665","sku_name":"","sku_id_list":"","goods_number":"300785","sku_goods_number":"","goods_code":"72541191699","sku_code":"","company":"","specifications":"","attribute_state":"1","pricing_method":"2","goods_brand_id":"0","goods_yieldly_id":null,"goods_num":10,"sku_num":"1.000","more_num":"10.000","less_num":"10.000","status":"0","cost_price":13,"add_time":"1569401150","index":18,"output_num":""},{"id":"19288","merchant_id":"2","warehouse_id":"305","goods_class_id":"907","goods_id":"24008","sku_id":"0","goods_name":"百香果307664","sku_name":"","sku_id_list":"","goods_number":"300784","sku_goods_number":"","goods_code":"72541191698","sku_code":"","company":"","specifications":"","attribute_state":"1","pricing_method":"2","goods_brand_id":"0","goods_yieldly_id":null,"goods_num":10,"sku_num":"1.000","more_num":"10.000","less_num":"10.000","status":"0","cost_price":13,"add_time":"1569401150","index":19,"output_num":""},{"id":"19287","merchant_id":"2","warehouse_id":"305","goods_class_id":"907","goods_id":"24007","sku_id":"0","goods_name":"百香果307663","sku_name":"","sku_id_list":"","goods_number":"300783","sku_goods_number":"","goods_code":"72541191697","sku_code":"","company":"","specifications":"","attribute_state":"1","pricing_method":"2","goods_brand_id":"0","goods_yieldly_id":null,"goods_num":10,"sku_num":"1.000","more_num":"10.000","less_num":"10.000","status":"0","cost_price":13,"add_time":"1569401150","index":20,"output_num":""}]
     */

    private int status;
    private String msg;
    private DataBean data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMsg() {
        return msg == null ? "" : msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean implements Serializable {

        private List<ListBean> list;
        private int count;

        public List<ListBean> getList() {
            if (list == null) {
                return new ArrayList<>();
            }
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }


        public static class ListBean implements Serializable {
            /**
             * id : 19306
             * merchant_id : 2
             * warehouse_id : 305
             * goods_class_id : 901
             * goods_id : 24026
             * sku_id : 0
             * goods_name : 測試圖片更新
             * sku_name :
             * sku_id_list :
             * goods_number : 42063
             * sku_goods_number :
             * goods_code : 8223494741
             * sku_code :
             * company :
             * specifications :
             * attribute_state : 1
             * pricing_method : 1
             * goods_brand_id : null
             * goods_yieldly_id : null
             * goods_num : 1
             * sku_num : 1.000
             * more_num : 0.000
             * less_num : 0.000
             * status : 0
             * cost_price : 1
             * add_time : 1570676732
             * index : 1
             * output_num :
             */

            private String id;
            private String merchant_id;
            private String warehouse_id;
            private String goods_class_id;
            private String goods_id;
            private String sku_id;
            private String goods_name;
            private String sku_name;
            private String sku_id_list;
            private String goods_number;
            private String sku_goods_number;
            private String goods_code;
            private String sku_code;
            private String company;
            private String specifications;
            private String attribute_state;
            private String pricing_method;
            private String goods_brand_id;
            private String goods_yieldly_id;
            private double goods_num;
            private String sku_num;
            private String more_num;
            private String less_num;
            private String status;
            private double cost_price;
            private String add_time;
            private int index;
            private String output_num;
            private double stock_price;
            private boolean checked;
            private String remark;
            private String purchase_num;
            private String purchase_price;
            private String store_id;
            private String purchase_order_id;
            private String supplier_id;

            private String surplus_num;
            private Double warehousing_num;
            private Double retreat_num;
            private Double subtotal;
            private String order_number;

            private Double operated_num;

            private String quality_guarantee_period;
            private String build_date;

            private String retail_price;
            private String online_price;

            private String serial_number_state;
            private List<SerialBean> serial_list;


            public List<SerialBean> getSerialList() {
                if (serial_list == null) {
                    return new ArrayList<>();
                }
                return serial_list;
            }

            public void setSerialList(List<SerialBean> serialList) {
                this.serial_list = serialList;
            }

            public String getSerial_number_state() {
                return serial_number_state == null ? "" : serial_number_state;
            }

            public void setSerial_number_state(String serial_number_state) {
                this.serial_number_state = serial_number_state;
            }

            public String getRetail_price() {
                return retail_price == null ? "" : retail_price;
            }

            public void setRetail_price(String retail_price) {
                this.retail_price = retail_price;
            }

            public String getOnline_price() {
                return online_price == null ? "" : online_price;
            }

            public void setOnline_price(String online_price) {
                this.online_price = online_price;
            }

            public String getQuality_guarantee_period() {
                return quality_guarantee_period == null ? "" : quality_guarantee_period;
            }

            public void setQuality_guarantee_period(String quality_guarantee_period) {
                this.quality_guarantee_period = quality_guarantee_period;
            }

            public String getBuild_date() {
                if (build_date == null) {
                    return "";
                }
                if (build_date.indexOf("-") != -1) {
                    return build_date;
                } else {
                    String a = build_date == null ? "" : build_date + "000";
                    SimpleDateFormat time = new SimpleDateFormat("yyyy年MM月dd日");
                    if (TextUtils.isEmpty(a) || TextUtils.isEmpty(build_date)) {
                        return "";
                    } else {
                        return time.format(new Date(Long.parseLong(a)));
                    }
                }
            }

            public void setBuild_date(String build_date) {
                this.build_date = build_date;
            }

            public ListBean(AllocationDetailInfo.DataBean dataBean) {
                this.id = dataBean.getId();
                this.merchant_id = dataBean.getMerchant_id();
                this.warehouse_id = dataBean.getWarehouse_id();
                this.goods_class_id = dataBean.getGoods_class_id();
                this.goods_id = dataBean.getGoods_id();
                this.sku_id = dataBean.getSku_id();
                this.goods_name = dataBean.getGoods_name();
                this.sku_name = dataBean.getSku_name();
                this.sku_id_list = dataBean.getSku_id_list();
                this.goods_number = dataBean.getGoods_number();
                this.sku_goods_number = dataBean.getSku_goods_number();
                this.goods_code = dataBean.getGoods_code();
                this.sku_code = dataBean.getSku_code();
                this.company = dataBean.getCompany();
                this.specifications = dataBean.getAdd_time();
                this.attribute_state = dataBean.getAttribute_state();
                this.pricing_method = dataBean.getPricing_method();
                this.cost_price = Double.parseDouble(dataBean.getCost_price());
                this.add_time = dataBean.getAdd_time();
                this.index = dataBean.getIndex();
                this.stock_price = dataBean.getStock_price();
                this.checked = false;
                this.remark = dataBean.getRemarks();
                this.purchase_num = dataBean.getPurchase_num() + "";
                this.purchase_price = dataBean.getPurchase_price() + "";
//            this.operated_num=dataBean.getOperated_num
            }

            public ListBean(ScanGoodInfo.DataBean dataBean) {
                this.id = dataBean.getId();
                this.merchant_id = dataBean.getMerchant_id();
                this.warehouse_id = dataBean.getWarehouse_id();
                this.goods_class_id = dataBean.getGoods_class_id();
                this.goods_id = dataBean.getGoods_id();
                this.sku_id = dataBean.getSku_id();
                this.goods_name = dataBean.getGoods_name();
                this.sku_name = dataBean.getSku_name();
                this.sku_id_list = dataBean.getSku_id_list();
                this.goods_number = dataBean.getGoods_number();
                this.sku_goods_number = dataBean.getSku_goods_number();
                this.goods_code = dataBean.getGoods_code();
                this.sku_code = dataBean.getSku_code();
                this.company = dataBean.getCompany();
                this.specifications = dataBean.getSpecifications();
                this.attribute_state = dataBean.getAttribute_state();
                this.pricing_method = dataBean.getPricing_method();
                this.goods_brand_id = dataBean.getGoods_brand_id();
                this.goods_yieldly_id = dataBean.getGoods_yieldly_id();
                this.goods_num = dataBean.getGoods_num();
                this.sku_num = dataBean.getSku_num();
                this.more_num = dataBean.getMore_num();
                this.less_num = dataBean.getLess_num();
                this.status = dataBean.getStatus();
                this.cost_price = dataBean.getCost_price();
                this.add_time = dataBean.getAdd_time();
                this.index = index;
                this.output_num = output_num;
                this.stock_price = stock_price;
                this.checked = checked;
                this.remark = remark;
                this.purchase_num = dataBean.getPurchase_num() + "";
                this.purchase_price = dataBean.getPurchase_price() + "";
                this.store_id = store_id;
                this.purchase_order_id = purchase_order_id;
                this.supplier_id = supplier_id;
                this.surplus_num = surplus_num;
                this.warehousing_num = warehousing_num;
                this.retreat_num = retreat_num;
                this.subtotal = subtotal;
                this.order_number = order_number;
                this.operated_num = operated_num;
                this.quality_guarantee_period = dataBean.getQuality_guarantee_period();
                this.build_date = dataBean.getBuild_date();
                this.retail_price = dataBean.getRetail_price() + "";
                this.online_price = dataBean.getOnline_price() + "";
            }

            public String getPurchase_num() {
                return purchase_num == null ? "" : purchase_num;
            }

            public void setPurchase_num(String purchase_num) {
                this.purchase_num = purchase_num;
            }

            public String getPurchase_price() {
                return purchase_price == null ? "" : purchase_price;
            }

            public void setPurchase_price(String purchase_price) {
                this.purchase_price = purchase_price;
            }

            public String getId() {
                return id == null ? "" : id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getMerchant_id() {
                return merchant_id == null ? "" : merchant_id;
            }

            public void setMerchant_id(String merchant_id) {
                this.merchant_id = merchant_id;
            }

            public String getWarehouse_id() {
                return warehouse_id == null ? "" : warehouse_id;
            }

            public void setWarehouse_id(String warehouse_id) {
                this.warehouse_id = warehouse_id;
            }

            public String getGoods_class_id() {
                return goods_class_id == null ? "" : goods_class_id;
            }

            public void setGoods_class_id(String goods_class_id) {
                this.goods_class_id = goods_class_id;
            }

            public String getGoods_id() {
                return goods_id == null ? "" : goods_id;
            }

            public void setGoods_id(String goods_id) {
                this.goods_id = goods_id;
            }

            public String getSku_id() {
                return sku_id == null ? "" : sku_id;
            }

            public void setSku_id(String sku_id) {
                this.sku_id = sku_id;
            }

            public String getGoods_name() {
                return goods_name == null ? "" : goods_name;
            }

            public void setGoods_name(String goods_name) {
                this.goods_name = goods_name;
            }

            public String getSku_name() {
                return sku_name == null ? "" : sku_name;
            }

            public void setSku_name(String sku_name) {
                this.sku_name = sku_name;
            }

            public String getSku_id_list() {
                return sku_id_list == null ? "" : sku_id_list;
            }

            public void setSku_id_list(String sku_id_list) {
                this.sku_id_list = sku_id_list;
            }

            public String getGoods_number() {
                return goods_number == null ? "" : goods_number;
            }

            public void setGoods_number(String goods_number) {
                this.goods_number = goods_number;
            }

            public String getSku_goods_number() {
                return sku_goods_number == null ? "" : sku_goods_number;
            }

            public void setSku_goods_number(String sku_goods_number) {
                this.sku_goods_number = sku_goods_number;
            }

            public String getGoods_code() {
                return goods_code == null ? "" : goods_code;
            }

            public void setGoods_code(String goods_code) {
                this.goods_code = goods_code;
            }

            public String getSku_code() {
                return sku_code == null ? "" : sku_code;
            }

            public void setSku_code(String sku_code) {
                this.sku_code = sku_code;
            }

            public String getCompany() {
                return company == null ? "" : company;
            }

            public void setCompany(String company) {
                this.company = company;
            }

            public String getSpecifications() {
                return specifications == null ? "" : specifications;
            }

            public void setSpecifications(String specifications) {
                this.specifications = specifications;
            }

            public String getAttribute_state() {
                return attribute_state == null ? "" : attribute_state;
            }

            public void setAttribute_state(String attribute_state) {
                this.attribute_state = attribute_state;
            }

            public String getPricing_method() {
                return pricing_method == null ? "" : pricing_method;
            }

            public void setPricing_method(String pricing_method) {
                this.pricing_method = pricing_method;
            }

            public String getGoods_brand_id() {
                return goods_brand_id == null ? "" : goods_brand_id;
            }

            public void setGoods_brand_id(String goods_brand_id) {
                this.goods_brand_id = goods_brand_id;
            }

            public String getGoods_yieldly_id() {
                return goods_yieldly_id == null ? "" : goods_yieldly_id;
            }

            public void setGoods_yieldly_id(String goods_yieldly_id) {
                this.goods_yieldly_id = goods_yieldly_id;
            }

            public double getGoods_num() {
                return goods_num;
            }

            public void setGoods_num(double goods_num) {
                this.goods_num = goods_num;
            }

            public String getSku_num() {
                return sku_num == null ? "" : sku_num;
            }

            public void setSku_num(String sku_num) {
                this.sku_num = sku_num;
            }

            public String getMore_num() {
                return more_num == null ? "" : more_num;
            }

            public void setMore_num(String more_num) {
                this.more_num = more_num;
            }

            public String getLess_num() {
                return less_num == null ? "" : less_num;
            }

            public void setLess_num(String less_num) {
                this.less_num = less_num;
            }

            public String getStatus() {
                return status == null ? "" : status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public double getCost_price() {
                return cost_price;
            }

            public void setCost_price(double cost_price) {
                this.cost_price = cost_price;
            }

            public String getAdd_time() {
                return add_time == null ? "" : add_time;
            }

            public void setAdd_time(String add_time) {
                this.add_time = add_time;
            }

            public int getIndex() {
                return index;
            }

            public void setIndex(int index) {
                this.index = index;
            }

            public String getOutput_num() {
                return output_num == null ? "" : output_num;
            }

            public void setOutput_num(String output_num) {
                this.output_num = output_num;
            }

            public boolean isChecked() {
                return checked;
            }

            public void setChecked(boolean checked) {
                this.checked = checked;
            }

            public String getRemark() {
                return remark == null ? "" : remark;
            }

            public void setRemark(String remark) {
                this.remark = remark;
            }

            public double getStock_price() {
                return stock_price;
            }

            public void setStock_price(double stock_price) {
                this.stock_price = stock_price;
            }

            public String getStore_id() {
                return store_id;
            }

            public void setStore_id(String store_id) {
                this.store_id = store_id;
            }

            public String getPurchase_order_id() {
                return purchase_order_id;
            }

            public void setPurchase_order_id(String purchase_order_id) {
                this.purchase_order_id = purchase_order_id;
            }

            public String getSupplier_id() {
                return supplier_id;
            }

            public void setSupplier_id(String supplier_id) {
                this.supplier_id = supplier_id;
            }

            public String getSurplus_num() {
                return surplus_num;
            }

            public void setSurplus_num(String surplus_num) {
                this.surplus_num = surplus_num;
            }

            public Double getWarehousing_num() {
                return warehousing_num;
            }

            public void setWarehousing_num(Double warehousing_num) {
                this.warehousing_num = warehousing_num;
            }

            public Double getRetreat_num() {
                return retreat_num;
            }

            public void setRetreat_num(Double retreat_num) {
                this.retreat_num = retreat_num;
            }

            public Double getSubtotal() {
                return subtotal;
            }

            public void setSubtotal(Double subtotal) {
                this.subtotal = subtotal;
            }

            public String getOrder_number() {
                return order_number;
            }

            public void setOrder_number(String order_number) {
                this.order_number = order_number;
            }

            public Double getOperated_num() {
                return operated_num == null ? 0 : operated_num;
            }

            public void setOperated_num(Double operated_num) {
                this.operated_num = operated_num;
            }
            public static class SerialBean implements Serializable {
                private String main_serial_number;
                private String auxiliary_serial_number_one;
                private String auxiliary_serial_number_two;

                public SerialBean(String main_serial_number, String auxiliary_serial_number_one, String auxiliary_serial_number_two) {
                    this.main_serial_number = main_serial_number;
                    this.auxiliary_serial_number_one = auxiliary_serial_number_one;
                    this.auxiliary_serial_number_two = auxiliary_serial_number_two;
                }

                public String getMain_serial_number() {
                    return main_serial_number == null ? "" : main_serial_number;
                }

                public void setMain_serial_number(String main_serial_number) {
                    this.main_serial_number = main_serial_number;
                }

                public String getAuxiliary_serial_number_one() {
                    return auxiliary_serial_number_one == null ? "" : auxiliary_serial_number_one;
                }

                public void setAuxiliary_serial_number_one(String auxiliary_serial_number_one) {
                    this.auxiliary_serial_number_one = auxiliary_serial_number_one;
                }

                public String getAuxiliary_serial_number_two() {
                    return auxiliary_serial_number_two == null ? "" : auxiliary_serial_number_two;
                }

                public void setAuxiliary_serial_number_two(String auxiliary_serial_number_two) {
                    this.auxiliary_serial_number_two = auxiliary_serial_number_two;
                }
            }
        }
    }
}
